import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/job/list',
    method: 'post',
    data
  })
}

export function create(data) {
  return request({
    url: '/job/create',
    method: 'post',
    data
  })
}

export function info(data) {
  return request({
    url: '/job/info',
    method: 'post',
    data
  })
}

export function restart(data) {
  return request({
    url: '/job/restart',
    method: 'post',
    data
  })
}

export function getAllPlatform(data) {
  return request({
    url: '/job/getAllPlatform',
    method: 'post',
    data
  })
}

export function getPlatformUserAddLog(data) {
  return request({
    url: '/job/getPlatformUserAddLog',
    method: 'post',
    data
  })
}

export function splitResult(data) {
  return request({
    url: '/job/splitResult',
    method: 'post',
    data
  })
}
